<template>
    <div class="list-container">
        <NavCard></NavCard>
        <BreadCrumb class="bread-crumb" />
        <div class="detail">
            <router-view/>
        </div>
    </div>
</template>
<script>
import NavCard from '@/views/dw/components/nav-card.vue'
import BreadCrumb from '@/components/bread-crumb/index.vue'

export default {
    name: 'PreWarningStatistics',
    components: {
        NavCard,
        BreadCrumb,
    },
    data() {
        return {
            activeTab: 0,
            activeTableType: 0,
        }
    },
    computed: {
        type(){
            if(this.$route.query.type==='0' || !this.$route.query.type) {
                return '预警'
            }else{
                return '处置'
            }
        },
        count() {
            return this.$route.query.count
        }
    }
}
</script>
<style lang="scss" scoped>
.list-container {
    margin-top: 17px;
    height: calc(100% - 17px);
    display: flex;
    flex-direction: column;
    background-color: #F7F8FD;
}

.bread-crumb {
    margin-top: 21px;
    padding-left: 20px;
}

.detail {
    margin-top: 9px;
    margin-left: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
}
</style>
